package com.ws.structure.exer;

public class TriAngleTest {

    public static void main(String[] args) {

        TriAngle triAngle = new TriAngle();
        triAngle.setBase(3);
        triAngle.setHeight(4);

        System.out.println("base = " + triAngle.getBase() + ", height = " + triAngle.getHeight());


        TriAngle triAngle1 = new TriAngle(5, 4);
        System.out.println("base = " + triAngle1.getBase() + ", height = " + triAngle1.getHeight());

    }
}
